3.2.43 \(\int (a+b \text {ArcCos}(c x)) \, dx\) [143]

Optimal. Leaf size=31 \[ a x-\frac {b \sqrt {1-c^2 x^2}}{c}+b x \text {ArcCos}(c x) \]

[Out]

a*x+b*x*arccos(c*x)-b*(-c^2*x^2+1)^(1/2)/c

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 31, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {4716, 267} \begin {gather*} a x+b x \text {ArcCos}(c x)-\frac {b \sqrt {1-c^2 x^2}}{c} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[a + b*ArcCos[c*x],x]

[Out]

a*x - (b*Sqrt[1 - c^2*x^2])/c + b*x*ArcCos[c*x]

Rule 267

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(a + b*x^n)^(p + 1)/(b*n*(p + 1)), x] /; FreeQ
[{a, b, m, n, p}, x] && EqQ[m, n - 1] && NeQ[p, -1]

Rule 4716

Int[((a_.) + ArcCos[(c_.)*(x_)]*(b_.))^(n_.), x_Symbol] :> Simp[x*(a + b*ArcCos[c*x])^n, x] + Dist[b*c*n, Int[
x*((a + b*ArcCos[c*x])^(n - 1)/Sqrt[1 - c^2*x^2]), x], x] /; FreeQ[{a, b, c}, x] && GtQ[n, 0]

Rubi steps

\begin {align*} \int \left (a+b \cos ^{-1}(c x)\right ) \, dx &=a x+b \int \cos ^{-1}(c x) \, dx\\ &=a x+b x \cos ^{-1}(c x)+(b c) \int \frac {x}{\sqrt {1-c^2 x^2}} \, dx\\ &=a x-\frac {b \sqrt {1-c^2 x^2}}{c}+b x \cos ^{-1}(c x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 31, normalized size = 1.00 \begin {gather*} a x-\frac {b \sqrt {1-c^2 x^2}}{c}+b x \text {ArcCos}(c x) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[a + b*ArcCos[c*x],x]

[Out]

a*x - (b*Sqrt[1 - c^2*x^2])/c + b*x*ArcCos[c*x]

________________________________________________________________________________________

Maple [A]
time = 0.01, size = 32, normalized size = 1.03

method result size
default \(a x +\frac {b \left (c x \arccos \left (c x \right )-\sqrt {-c^{2} x^{2}+1}\right )}{c}\) \(32\)
derivativedivides \(\frac {c x a +b \left (c x \arccos \left (c x \right )-\sqrt {-c^{2} x^{2}+1}\right )}{c}\) \(34\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(a+b*arccos(c*x),x,method=_RETURNVERBOSE)

[Out]

a*x+b/c*(c*x*arccos(c*x)-(-c^2*x^2+1)^(1/2))

________________________________________________________________________________________

Maxima [A]
time = 0.46, size = 31, normalized size = 1.00 \begin {gather*} a x + \frac {{\left (c x \arccos \left (c x\right ) - \sqrt {-c^{2} x^{2} + 1}\right )} b}{c} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(a+b*arccos(c*x),x, algorithm="maxima")

[Out]

a*x + (c*x*arccos(c*x) - sqrt(-c^2*x^2 + 1))*b/c

________________________________________________________________________________________

Fricas [A]
time = 2.33, size = 32, normalized size = 1.03 \begin {gather*} \frac {b c x \arccos \left (c x\right ) + a c x - \sqrt {-c^{2} x^{2} + 1} b}{c} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(a+b*arccos(c*x),x, algorithm="fricas")

[Out]

(b*c*x*arccos(c*x) + a*c*x - sqrt(-c^2*x^2 + 1)*b)/c

________________________________________________________________________________________

Sympy [A]
time = 0.06, size = 29, normalized size = 0.94 \begin {gather*} a x + b \left (\begin {cases} x \operatorname {acos}{\left (c x \right )} - \frac {\sqrt {- c^{2} x^{2} + 1}}{c} & \text {for}\: c \neq 0 \\\frac {\pi x}{2} & \text {otherwise} \end {cases}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(a+b*acos(c*x),x)

[Out]

a*x + b*Piecewise((x*acos(c*x) - sqrt(-c**2*x**2 + 1)/c, Ne(c, 0)), (pi*x/2, True))

________________________________________________________________________________________

Giac [A]
time = 0.40, size = 31, normalized size = 1.00 \begin {gather*} a x + \frac {{\left (c x \arccos \left (c x\right ) - \sqrt {-c^{2} x^{2} + 1}\right )} b}{c} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(a+b*arccos(c*x),x, algorithm="giac")

[Out]

a*x + (c*x*arccos(c*x) - sqrt(-c^2*x^2 + 1))*b/c

________________________________________________________________________________________

Mupad [B]
time = 0.33, size = 29, normalized size = 0.94 \begin {gather*} a\,x-\frac {b\,\sqrt {1-c^2\,x^2}}{c}+b\,x\,\mathrm {acos}\left (c\,x\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(a + b*acos(c*x),x)

[Out]

a*x - (b*(1 - c^2*x^2)^(1/2))/c + b*x*acos(c*x)

________________________________________________________________________________________